package com.opennews.openplatform.constants

/**
 * IMPORTANT!!!
 * Role names must start with “ROLE_”. This is configurable in Spring Security.
 */
class RoleConstant {
    final static String ROLE_SYSTEM_ADMIN = "ROLE_SYSTEM_ADMIN"                     // Permission to perform any action in current system.
    final static String ROLE_ACCOUNT_GROUP_ADMIN = "ROLE_ACCOUNT_GROUP_ADMIN"       // Permission to perform any action in particular account group only.
    final static String ROLE_ACCOUNT_GROUP_USER = "ROLE_ACCOUNT_GROUP_USER"         // Normal user in a account group.
    final static String ROLE_ACCOUNT_GROUP_VIEWER = "ROLE_ACCOUNT_GROUP_VIEWER"     // Readonly user in a account group.
}